﻿using EMall.Application;

namespace EMall.ProductService.Products
{
    public class UpdateProductDto : EntityDto
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Model { get; set; }
        public string Description { get; set; }
        public int CategoryId { get; set; }
        public int BrandId { get; set; }
        public bool IsActive { get; set; }
        public List<UpdateProductPictureDto> Pictures { get; set; }
        public UpdateProductDto()
        {
            Pictures = new List<UpdateProductPictureDto>();
        }
    }
    public class UpdateProductPictureDto
    {
        public int? Id { get; set; }
        public string Url { get; set; }
    }
}
